package com.edianping.config;


/**
 * 这个保存config.xml的信息
 * @author jszhang
 *
 */

public class AppConfigBean {	
	private int connpoosize = 10;
	private int threadpoosize = 10;

	private int processTaskCount = 10;
	private int dbReaderCount = 1;
	private int dbWriterCount = 1;
	private String infoPath =  ""; //log output path
	private int minShopProcessReviewCount = 1;
	private int minProductProcessReviewCount = 1;
	
	private ProcessThreadConfigBean processConfigBean = new ProcessThreadConfigBean();
	private DBReaderThreadConfigBean dbReaderConfigBean = new DBReaderThreadConfigBean();
	private DBWriterThreadConfigBean dbWriterConfigBean = new DBWriterThreadConfigBean();
	
	public int getThreadpoosize() {
		return threadpoosize;
	}

	public void setThreadpoosize(int threadpoosize) {
		this.threadpoosize = threadpoosize;
	}
	
	public int getMinShopProcessReviewCount() {
		return minShopProcessReviewCount;
	}

	public void setMinShopProcessReviewCount(int minProcessReviewCount) {
		this.minShopProcessReviewCount = minProcessReviewCount;
	}
	
	public int getMinProductProcessReviewCount() {
		return minProductProcessReviewCount;
	}

	public void setMinProductProcessReviewCount(int minProcessReviewCount) {
		this.minProductProcessReviewCount = minProcessReviewCount;
	}

	public ProcessThreadConfigBean getProcessConfigBean() {
		return processConfigBean;
	}

	public void setProcessConfigBean(ProcessThreadConfigBean processConfigBean) {
		this.processConfigBean = processConfigBean;
	}

	public DBReaderThreadConfigBean getDbReaderConfigBean() {
		return dbReaderConfigBean;
	}

	public void setDbReaderConfigBean(DBReaderThreadConfigBean dbReaderConfigBean) {
		this.dbReaderConfigBean = dbReaderConfigBean;
	}

	public DBWriterThreadConfigBean getDbWriterConfigBean() {
		return dbWriterConfigBean;
	}

	public void setDbWriterConfigBean(DBWriterThreadConfigBean dbWriterConfigBean) {
		this.dbWriterConfigBean = dbWriterConfigBean;
	}

	public int getConnpoosize() {
		return connpoosize;
	}

	public void setConnpoosize(int connpoosize) {
		this.connpoosize = connpoosize;
	}

	public int getProcessTaskCount() {
		return processTaskCount;
	}

	public void setProcessTaskCount(int processTaskCount) {
		this.processTaskCount = processTaskCount;
	}

	public int getDbReaderCount() {
		return dbReaderCount;
	}

	public void setDbReaderCount(int dbReaderCount) {
		this.dbReaderCount = dbReaderCount;
	}

	public int getDbWriterCount() {
		return dbWriterCount;
	}

	public void setDbWriterCount(int dbWriterCount) {
		this.dbWriterCount = dbWriterCount;
	}

	public String getInfoPath() {
		return infoPath;
	}

	public void setInfoPath(String infoPath) {
		this.infoPath = infoPath;
	}
}
